/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.fft.flight.modules.flight.enums;

/**
 * 航段退改类型枚举
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0
 */
public enum SegmentRuleTypeEnum {
    /**
     * 改签
     */
    CHANGE(1,"改签"),
    /**
     * 退票
     */
    REFUND(2,"退票");

    private int code;
    private String msg;

    SegmentRuleTypeEnum(int value,String msg) {
        this.code = value;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
